package test;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;


@XmlAccessorType(XmlAccessType.FIELD)
public class Employee {
	@XmlAttribute
	String id;
	@XmlAttribute
	String local;
	@XmlAttribute
	String salary;
	@XmlAttribute
	String localId;
	@XmlAttribute
	String name;
public Employee(){}
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLocal() {
		return local;
	}

	public void setLocal(String local) {
		this.local = local;
	}

	public String getSalary() {
		return salary;
	}

	public void setSalary(String salary) {
		this.salary = salary;
	}

	public String getLocalId() {
		return localId;
	}

	public void setLocalId(String localId) {
		this.localId = localId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	public Employee(String id, String local, String salary, String localId, String name) {
		this.id = id;
		this.local = local;
		this.salary = salary;
		this.localId = localId;
		this.name = name;

	}

	public String toString() {
		return "\r   Employee id="+id + ",local=" + local + ",salary=" + salary + ",localId=" + localId + ",name=" + name;
	}

}
